module Depac
  module CloudDeploymentConstants
    
    # Literals in configuration file
    AUTHORING_NODES = "authoring"
    RUNTIME_NODES = "runtime"
    SHARED_NODES = "shared"
    NODE_INFO = "node_info"
    NO_OF_NODES = "no_of_nodes"
    AGENT_NODES = "agent_nodes"
    INTG_NODES = "intg_nodes"
    ROLE = "role"
    ENVIRONMENT = "environment"
    SOFTLAYER_CREDENTIALS = "softlayer_credentials"
    SNAPSHOT = "snapshot"
    BUILD_LABEL = "build_label"
    HOSTNAME = "hostname"
    
    # roles
    ROLE_APPSERVER = "appserver"
    ROLE_DATABASE = "database"
    ROLE_FOUNDATION = "foundation"
    ROLE_JMS = "jms"
    ROLE_SEARCH = "search"
    ROLE_AGENT = "agent"
    ROLE_INTG = "intg"
    ROLE_LIBERTY = "liberty"
    # Gem name
    GEM_NAME = "depac-common"
    CLOUD_DEPL_GEM_NAME="depac-deployment"
    
    # File paths
    DEFAULT_LOGGING_PROPERTY_FILEPATH="/config/log_properties.yml"
    LOGGING_PROPERTY_FILEPATH = "~/depac-common/log_properties.yml"
    USAGE_FILE_PATH = "/config/usage.yml"
    VALIDATE_FILE_PATH = "/config/validate.yml"
    IMAGENAME_FILE_PATH = "/config/image_names.yml"  
      #Added by CDL to store CADB pwd lis file
    CADB_PWD_REG_FILE_PATH = "ihs_keystore/CADB-PWD-REG.yml"
    
    # Keys used in imageName.yml and validate.yml
    NAMING_CONVENTION = 'naming_convention'
    DEFAULT_KEY = 'default'
    ROLES = 'roles'
    
    # class names
    BASE_PROVISION_INSTANCE = "BaseProvisionInstance"
    BASE_CONFIGURE_INSTANCE = "BaseConfigureInstance"
    
    # Info Messages
    BORDER_LINE       = "-------------------------------------------------------------------"
    BORDER_LINE_BOLD  = "==================================================================="
    VALIDATING_IMAGE_TEMPLATES = "Validating the Image templates..."
    EMPTY_STRING = ""
    
    CLD_DPL_KEYPATH="ws_data/cloud-deployment-key"
  end
end